# -*- coding: utf-8 -*-
"""
@Time ： 2020/10/15 10:16
@Auth ： Mr. JJ_Cloud
@Company ：testingedu.com.cn
@Function ：请输入模块功能描述
"""

from sys import argv
from os.path import exists
from pip._vendor.distlib.compat import raw_input

script,from_file,to_file = argv

print("Copying from %s to %s " % (from_file,to_file))

#we could do these two on one line too ,how？
input = open(from_file)
indata = input.read()

print("The input file is %d bytes long" % len(indata))

print("Does the output file exist? %r" % exists(to_file))
print("Ready,hit RETURN to continue,CTRL-C to abort.")
raw_input()
